package com.reguang.exception;

import com.reguang.enums.HttpStatusEnum;
import com.reguang.enums.ResultCode;

/**
 * 
 * <p>Title: NotFoundException</p>
 * <p>Description: 数据或资源未找到</p>
 * @author weibiao
 * @date 2019年12月26日
 */
public class NotFoundException extends BaseException {

	/** serialVersionUID*/
	private static final long serialVersionUID = -4250423141497315952L;

	private Integer httpStatus = HttpStatusEnum.NOT_FOUND.code();

	private ResultCode resultCode = ResultCode.DATA_NOT_FOUND;

	public NotFoundException() {
		super();
	}

	public NotFoundException(Integer httpStatus, ResultCode resultCode) {
		super();
		this.httpStatus = httpStatus;
		this.resultCode = resultCode;
	}

	public Integer getHttpStatus() {
		return httpStatus;
	}

	public void setHttpStatus(Integer httpStatus) {
		this.httpStatus = httpStatus;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}

}
